function addNews() {
    var data = {};
    data.newsType = $("#newsType").val();
    data.newsTitle = $("#newsTitle").val();
    data.publisher = $("#publisher").val();
    data.newsContent = $("#newsContent").val();
    data.releaseTime = $("#releaseTime").val();
    $.ajax({
        url:'/back/news/newsAdd',
        data:data,
        type:'post',
        dataType:'json',
        success:function (data) {
            if (data === 1) {
                alert("添加成功!!");
                $("#right").load('/back/ news/newsManage.html');
            }else{
                alert("添加失败！")
            }
        }
    })
}
function cancelAdd() {
    $("#right").load('/back/news/newsManage.html');
}